﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Prontuario.Master" AutoEventWireup="true" CodeBehind="CadastroMedico.aspx.cs" Inherits="ProntuarioEletronico.CadastroMedico" Culture="Auto" UICulture="Auto" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <style type="text/css">
        .auto-style1
        {
            width: 140px;
        }

        .auto-style2
        {
            width: 389px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="FeaturedContent" runat="server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="MainContent" runat="server">
    <asp:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server" CombineScripts="False" EnableScriptGlobalization="True" EnableScriptLocalization="True"></asp:ToolkitScriptManager>


    <fieldset style="border-style: groove">
        <legend>Cadastro do Médico</legend>
        <div class="formAlin">
           
                <!--Campos do cadastro dos médicos -->
              

                <!--Nome -->
                <table>
                    <tr>
                        <td class="auto-style1">
                            <asp:Label runat="server" ID="labelnomeMedico" Text="Nome: "></asp:Label>
                        </td>
                        <td class="auto-style2">
                            <asp:TextBox runat="server" ID="txtNomeMedico" Width="300px"></asp:TextBox>

                        </td>
                        
                    </tr>
                    <!--Sexo -->
                    <tr>
                        <td class="auto-style1">
                            <asp:Label runat="server" ID="label1" Text="Sexo: "></asp:Label>
                        </td>
                        <td class="auto-style2">
                            <asp:DropDownList ID="listaSexoMedico" runat="server">
                                <asp:ListItem>Masculino</asp:ListItem>
                                <asp:ListItem>Feminino</asp:ListItem>
                            </asp:DropDownList>

                        </td>
                       
                    </tr>
                    <!--Data de Nascimento -->
                    <tr>
                        <td class="auto-style1">
                            <asp:Label runat="server" ID="label2" Text="Data de Nasc.: "></asp:Label>
                        </td>
                        <td class="auto-style2">
                            <asp:TextBox ID="txtdataNasc" runat="server"></asp:TextBox>
                        </td>
                        <asp:CalendarExtender ID="txtdataNasc_CalendarExtender" runat="server" Enabled="True" TargetControlID="txtdataNasc">
                        </asp:CalendarExtender>

                       
                    </tr>
                    <!--Data de Nascimento -->
                    <tr>
                        <td class="auto-style1">
                            <asp:Label runat="server" ID="label3" Text="E-mail: "></asp:Label>
                        </td>
                        <td class="auto-style2">
                            <asp:TextBox runat="server" ID="txtemail" Width="300px"></asp:TextBox>
                        </td>
                       

                    </tr>
                    <!--CRM -->
                    <tr>
                        <td class="auto-style1">
                            <asp:Label runat="server" ID="label4" Text="CRM: "></asp:Label>
                        </td>
                        <td class="auto-style2">
                            <asp:TextBox runat="server" ID="txtcrm" Width="109px" Height="16px"></asp:TextBox>

                            <asp:Label runat="server" ID="laberUFCRM" Text="UF: "></asp:Label>

                            <asp:TextBox runat="server" ID="txtUFCRM" Style="margin-left: 16px;" Width="25px"></asp:TextBox>
                        </td>
                       
                    </tr>
                    <!--Data CRM -->
                    <tr>
                        <td class="auto-style1">
                            <asp:Label runat="server" ID="label12" Text="Data de Inscrição: "></asp:Label>
                        </td>
                        <td class="auto-style2">
                            <asp:TextBox runat="server" ID="txtdatainscricao" Width="109px" Height="16px"></asp:TextBox>
                            <asp:CalendarExtender ID="txtdatainscricao_CalendarExtender" runat="server" Enabled="True" TargetControlID="txtdatainscricao">
                            </asp:CalendarExtender>
                        </td>
                       
                    </tr>
                    <!--Especialização -->
                    <tr>
                        <td class="auto-style1">
                            <asp:Label runat="server" ID="label5" Text="Especialização: "></asp:Label>
                        </td>
                        <td class="auto-style2">
                            <asp:TextBox runat="server" ID="txtEspecializacao" Width="300px"></asp:TextBox>
                        </td>
                       
                    </tr>
                    <!--RG -->
                    <tr>
                        <td>
                            <asp:Label runat="server" ID="label6" Text="RG: "></asp:Label>
                        </td>
                        <td class="auto-style2">
                            <asp:TextBox runat="server" ID="txtRG" Width="137px" Height="16px"></asp:TextBox>&nbsp;
                                  <asp:Label runat="server" ID="label15" Text="Orgão emissor: "></asp:Label>

                            <asp:TextBox runat="server" ID="txtorgaoemissorRG" Width="57px" Height="16px"></asp:TextBox>
                            <asp:MaskedEditExtender ID="txtRG_MaskedEditExtender" runat="server" Century="2000" CultureAMPMPlaceholder="" CultureCurrencySymbolPlaceholder="" CultureDateFormat="" CultureDatePlaceholder="" CultureDecimalPlaceholder="" CultureThousandsPlaceholder="" CultureTimePlaceholder="" Enabled="True" Mask="9.999.999" TargetControlID="txtRG">
                            </asp:MaskedEditExtender>
                        </td>
                        
                    </tr>
                    <!--CPF -->
                    <tr>
                        <td>
                            <asp:Label runat="server" ID="label7" Text="CPF: "></asp:Label>
                        </td>
                        <td class="auto-style2">
                            <asp:TextBox runat="server" ID="txtCPF" Width="137px" Height="16px"></asp:TextBox>

                           <%-- <asp:MaskedEditExtender ID="txtCPF_MaskedEditExtender" runat="server" Century="2000" CultureAMPMPlaceholder="" CultureCurrencySymbolPlaceholder="" CultureDateFormat="" CultureDatePlaceholder="" CultureDecimalPlaceholder="" CultureThousandsPlaceholder="" CultureTimePlaceholder="" Enabled="True" Mask="999.999.999-99" TargetControlID="txtCPF">
                            </asp:MaskedEditExtender>--%>
                        </td>
                       
                    </tr>
                    <!--Título de Eleitor -->
                    <tr>
                        <td>
                            <asp:Label runat="server" ID="label11" Text="Título de Eleitor: "></asp:Label>
                        </td>
                        <td class="auto-style2">
                            <asp:TextBox runat="server" ID="txtTitulo" Width="137px" Height="16px"></asp:TextBox>&nbsp;
                          
                        
         <asp:Label runat="server" ID="label13" Text="Zona: "></asp:Label>
                            <asp:TextBox runat="server" ID="txtZona" Width="48px" Height="16px"></asp:TextBox>&nbsp;
         <asp:Label runat="server" ID="label14" Text="Seção: "></asp:Label>
                            <asp:TextBox runat="server" ID="txtSecao" Width="54px" Height="16px"></asp:TextBox>
                        </td>
                       
                    </tr>
                    <!--Usuário -->
                    <tr>
                        <td>
                            <asp:Label runat="server" ID="label8" Text="Usuário: "></asp:Label>
                        </td>
                        <td>
                            <asp:TextBox runat="server" ID="txtUsuario" Width="137px"  Height="16px"></asp:TextBox>
                        </td>
                       
                    </tr>
                    <!--Senha -->
                    <tr>
                        <td>
                    <asp:Label runat="server" ID="label9" Text="Senha: "></asp:Label>
                            </td>
                        <td>
                    <asp:TextBox runat="server" ID="txtSenha" Width="137px"  Height="16px" TextMode="Password"></asp:TextBox>
                    </td>
                      
                    </tr>
                    <!--Confirmação Senha -->
                    <tr>
                        <td>
                    <asp:Label runat="server" ID="label10" Text="Confirmação Senha: "></asp:Label>
                            </td>
                        <td>
                    <asp:TextBox runat="server" ID="txtConfSenha" Width="137px"  Height="16px" TextMode="Password"></asp:TextBox>
                    </td>
                        
                        </tr>
                   </table>
                  <br />
                    <br />
                 <asp:Button ID="btnCadMedico" runat="server" Text="Cadastrar" Style="margin-left: 195px" OnClick="btnCadMedico_Click" />
           
        </div>
    </fieldset>

</asp:Content>
